package com.junmeng.libfloating.tab

import android.view.View
import com.junmeng.lib.ui.topview.core.WindowTopViewManager
import com.junmeng.libfloating.util.SystemSettingPageUtil

/**
 * 进入应用信息页
 */
class MenuEnterAppInfo : TabMenu.Item() {
    private var clickListener = View.OnClickListener {
        WindowTopViewManager.getCurrentActivity()?.let {
            SystemSettingPageUtil.gotoAppDetailsSettingPage(it)
        }

    }

    override fun getClickListener(): View.OnClickListener? {
        return clickListener
    }

    override fun getLabel(): String {
        return "应用信息"
    }

}